<template>
  <div class="main">
    <div class="a1">
      <h2>新型冠状病毒测试</h2>
      <div class="p1">
        <span>&nbsp; &nbsp;</span>&nbsp;
        &nbsp;疫情大势已去，我们仍不可放松，防控就是责任，ncov-monitor邀请您一起参与“疫情防控-知识科普”学习。答对有奖哦
      </div>
    </div>
    <div class="a2" @click="go">开始答题</div>
  </div>
</template>

<script>
export default {
  data() {
    return {}
  },
  methods: {
    go() {
      this.$router.push('/calequestions')
    }
  }
}
</script>

<style lang="scss" scoped>
.main {
  max-width: 768px;
  margin: 0 auto;
  height: 760px;
  background: url('../assets/avoidstart/bg_1.png') no-repeat;
  background-size: 100% 100%;
  position: relative;

  .a1 {
    text-align: center;
    font-size: 18px;
    position: absolute;
    top: 400px;
    img {
      margin: 0 auto;
      width: 150px;
      height: 130px;
      margin-bottom: 5px;
    }

    p {
      margin: 0 15%;
    }
    h2 {
      color: #1b89fa;
    }
    .p1 {
      color: black;
      font-weight: 600;
      font-size: 14px;
      text-align: left;
      padding-top: 10px;
      margin: 0 15%;

      span {
        padding: 0 10px;
      }
    }
    .p2 {
      font-size: 12px;
      padding-top: 10px;
    }
  }
  .a2 {
    display: inline-block;
    position: absolute;
    top: 600px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    color: #1b89fa;
    text-align: center;
    background-color: #fff;
    font-weight: 600;
    border-radius: 10px;
    padding: 10px;
    cursor: pointer;
  }
}
</style>
